﻿using System.Web;
using System.Web.Optimization;

namespace Front
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js/jquery").Include(
                        "~/Content/lib/jquery/jquery-1.8.0.min.js"));

            bundles.Add(new ScriptBundle("~/js/jquery.ui").Include(
                        "~/Content/lib/jquery.ui/js/jquery-ui-1.8.23.custom.min.js"));
            bundles.Add(new StyleBundle("~/css/jquery.ui").Include(
                        "~/Content/lib/jquery.ui/css/ui-lightness/jquery-ui-1.8.23.custom.css"));

            bundles.Add(new ScriptBundle("~/js/jquery.lightbox").Include(
                        "~/Content/lib/jquery.lightbox/js/jquery.lightbox-0.5.min.js"));
            bundles.Add(new StyleBundle("~/css/jquery.lightbox").Include(
                        "~/Content/lib/jquery.lightbox/css/jquery.lightbox-0.5.css"));

            bundles.Add(new ScriptBundle("~/js/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/js/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/js/bootstrap").Include(
                        "~/Content/lib/bootstrap/js/bootstrap.min.js"));
            bundles.Add(new StyleBundle("~/css/bootstrap").Include(
                        "~/Content/lib/bootstrap/css/bootstrap.css"));

            bundles.Add(new ScriptBundle("~/js/less").Include(
                        "~/Content/lib/less/less-1.3.0.min.js"));

            bundles.Add(new StyleBundle("~/css/site").Include("~/Content/css/site.css"));
        }
    }
}